package lab02.test26;

/**
 * Created by w on 2017/11/2.
 */
public class ExceptionTest {
    public static void main(String[] args) {
        try{
            int a=10/0;
        }catch(ArithmeticException e){
            System.out.println("除数为0！！");

        }finally {
            System.out.println("这是最终执行的代码");
        }
    }
}
